package site.huoqiang.emos.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import site.huoqiang.emos.mapper.AmectTypeMapper;
import site.huoqiang.emos.pojo.AmectType;
import site.huoqiang.emos.service.AmectTypeService;

import java.util.ArrayList;

/**
 * @author: huoqiang huoqiang
 * @date: 2022-03-20
 */
@Service
@Slf4j
public class AmectTypeServiceImpl implements AmectTypeService {

    @Autowired
    private AmectTypeMapper amectTypeMapper;

    /**
     * 查询全部罚款类型
     *
     * @return
     */
    @Override
    public ArrayList<AmectType> searchAllAmectType() {
        return amectTypeMapper.searchAllAmectType();
    }
}
